using System.Net;

namespace Spider.Core.Extensions
{
	public static class HttpStatusCodeExtensions
	{
		public static bool IsSuccessStatusCode(this HttpStatusCode statusCode)
		{
			return statusCode >= HttpStatusCode.OK && statusCode <= (HttpStatusCode)299;
		}
	}
}